ahrefs\AhrefsSeo_Vendor\phpseclib\Net\SFTP D

Total Complexity 491
Dependencies 1
Dependents 1
Total lines 2,847
Lines of code 1,698
Logical lines of code 1,177
Comment lines 1,046
Methods 75
Properties 19

Methods 75

Method Rating Maintainability Complexity Lines of code
put()
D
27
41 133
get()
D
28
37 127
_list()
C
33 26 90
_comparator()
C
41 27 52
_get_sftp_packet()
B
36 18 78
_parseAttributes()
B
40 16 62
_init_sftp_connection()
B
38 15 68
lstat()
A
44 15 44
_setstat_recursive()
A
44 14 47
stat()
A
46 14 38
_delete_recursive()
A
44 13 46
_realpath()
A
44 13 45
_update_stat_cache()
A
49 12 29
delete()
A
46 11 39
rawlist()
A
48 11 30
chdir()
A
46 10 36
_parseMode()
A
53 10 24
_nlist_helper()
A
52 9 23
touch()
A
48 8 33
_setstat()
A
48 8 33
readlink()
A
49 8 32
chmod()
A
49 8 30
rename()
A
49 8 30
filetype()
A
54 8 22
rmdir()
S
50 7 27
_send_sftp_packet()
S
49 6 29
symlink()
S
52 6 24
_mkdir_helper()
S
53 6 22
_get_xstat_cache_prop()
S
59 6 14
__construct()
S
40 3 57
mkdir()
S
54 5 20
_close_handle()
S
55 5 19
_remove_from_stat_cache()
S
56 5 18
_read_put_responses()
S
56 5 18
_logError()
S
58 5 15
_parseLongname()
S
59 5 15
is_writable()
S
57 4 17
is_readable()
S
57 4 17
_stat()
S
58 4 16
setListOrder()
S
59 4 14
_query_stat_cache()
S
59 4 14
size()
S
62 4 10
getSFTPLog()
S
62 3 12
file_exists()
S
64 3 10
getSupportedVersions()
S
68 2 7
is_file()
S
68 2 7
is_link()
S
68 2 7
login()
S
71 2 6
getLastSFTPError()
S
77 2 3
is_dir()
S
68 2 7
_reset_connection()
S
71 1 6
clearStatCache()
S
82 1 3
enableStatCache()
S
81 1 3
chgrp()
S
73 1 4
disableStatCache()
S
81 1 3
getSFTPErrors()
S
83 1 3
disablePathCanonicalization()
S
81 1 3
_disconnect()
S
76 1 4
enableDatePreservation()
S
81 1 3
enablePathCanonicalization()
S
81 1 3
filemtime()
S
80 1 3
pwd()
S
83 1 3
_get_lstat_cache_prop()
S
79 1 3
_get_stat_cache_prop()
S
79 1 3
filesize()
S
80 1 3
filegroup()
S
80 1 3
fileowner()
S
80 1 3
fileperms()
S
80 1 3
chown()
S
73 1 4
fileatime()
S
80 1 3
is_writeable()
S
81 1 3
realpath()
S
81 1 3
nlist()
S
79 1 3
truncate()
S
73 1 4
disableDatePreservation()
S
81 1 3